package com.yangyang.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class QueryVo {

    private String orderId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date minDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date maxDate;
    private String text;
    private String colum;
    private String context;
    private String col;
    private String minText;
    private String maxText;

    @Override
    public String toString() {
        return "QueryVo{" +
                "orderId='" + orderId + '\'' +
                ", minDate=" + minDate +
                ", maxDate=" + maxDate +
                ", text='" + text + '\'' +
                ", colum='" + colum + '\'' +
                ", context='" + context + '\'' +
                ", col='" + col + '\'' +
                ", minText='" + minText + '\'' +
                ", maxText='" + maxText + '\'' +
                '}';
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Date getMinDate() {
        return minDate;
    }

    public void setMinDate(Date minDate) {
        this.minDate = minDate;
    }

    public Date getMaxDate() {
        return maxDate;
    }

    public void setMaxDate(Date maxDate) {
        this.maxDate = maxDate;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getColum() {
        return colum;
    }

    public void setColum(String colum) {
        this.colum = colum;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getCol() {
        return col;
    }

    public void setCol(String col) {
        this.col = col;
    }

    public String getMinText() {
        return minText;
    }

    public void setMinText(String minText) {
        this.minText = minText;
    }

    public String getMaxText() {
        return maxText;
    }

    public void setMaxText(String maxText) {
        this.maxText = maxText;
    }

    public QueryVo() {
    }

    public QueryVo(String orderId, Date minDate, Date maxDate, String text, String colum, String context, String col, String minText, String maxText) {
        this.orderId = orderId;
        this.minDate = minDate;
        this.maxDate = maxDate;
        this.text = text;
        this.colum = colum;
        this.context = context;
        this.col = col;
        this.minText = minText;
        this.maxText = maxText;
    }
}
